from moodlefuse.files import Directory, RegularFile

class Resource(RegularFile):
    pass

class Resources(Directory):

    def load_files(self):
        self.files = self.api.get_resources(self.url)
  